package com.nnnu.wsnackshop.pojo.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import static io.swagger.v3.oas.annotations.media.Schema.*;

@Data
@Schema(description = "更新门店地址 DTO")
public class UpdateStoreAddressDTO {
    @NotNull
    @Schema(description = "地址 ID", requiredMode = RequiredMode.REQUIRED, example = "1")
    private Long id;

    @Schema(description = "省市区")
    private String region;

    @Schema(description = "详细地址")
    private String detail;

    @Schema(description = "是否默认地址，1=是，0=否")
    private Integer isDefault;
}
